package top.zywork.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.zywork.dao.AdvertisementTypeAdsDAO;
import top.zywork.dos.AdvertisementTypeAdsDO;
import top.zywork.dto.AdvertisementTypeAdsDTO;
import top.zywork.service.AbstractBaseService;
import top.zywork.service.AdvertisementTypeAdsService;

import javax.annotation.PostConstruct;

/**
 * AdvertisementTypeAdsServiceImpl服务接口实现类<br/>
 *
 * 创建于2019-07-05<br/>
 *
 * @author http://zywork.top 王振宇
 * @version 1.0
 */
@Service(value = "advertisementTypeAdsService")
public class AdvertisementTypeAdsServiceImpl extends AbstractBaseService implements AdvertisementTypeAdsService {

    private AdvertisementTypeAdsDAO advertisementTypeAdsDAO;

    @Autowired
    public void setAdvertisementTypeAdsDAO(AdvertisementTypeAdsDAO advertisementTypeAdsDAO) {
        super.setBaseDAO(advertisementTypeAdsDAO);
        this.advertisementTypeAdsDAO = advertisementTypeAdsDAO;
    }

    @PostConstruct
    public void init() {
        super.init(AdvertisementTypeAdsDO.class, AdvertisementTypeAdsDTO.class);
    }
}
